package com.tianji.learning.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tianji.learning.domain.po.LearningLesson;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * TODO
 *
 * @Author whx
 * @Date 2024/11/22 18:19
 */
public interface LearningMapper extends BaseMapper<LearningLesson> {

    @Update("update tj_learning.learning_lesson set latest_section_id = #{sectionId}")
    void updateLL(@Param("lessonId") Long lessonId,@Param("sectionId") Long sectionId);
}
